<?php
//供应商财务
Route::set('finance_admin_finance_supplier', 'finance/admin/finance/supplier((/<controller>)(/<action>(/<params>)))', array('params' => '.*'))
    ->defaults(array(
        'controller' => 'index',
        'action' => 'index',
        'directory'=>'admin/finance/supplier',
    ));
//分销商财务
Route::set('finance_admin_finance_fenxaio', 'finance/admin/finance/fenxiao((/<controller>)(/<action>(/<params>)))', array('params' => '.*'))
    ->defaults(array(
        'controller' => 'index',
        'action' => 'index',
        'directory'=>'admin/finance/fenxiao',
    ));
//会员提现
Route::set('finance_admin_finance_member', 'finance/admin/finance/member((/<controller>)(/<action>(/<params>)))', array('params' => '.*'))
    ->defaults(array(
        'controller' => 'index',
        'action' => 'index',
        'directory'=>'admin/finance/member',
    ));
//平台佣金
Route::set('finance_admin_finance_platform_commission', 'finance/admin/finance/commission((/<controller>)(/<action>(/<params>)))', array('params' => '.*'))
    ->defaults(array(
        'controller' => 'index',
        'action' => 'index',
        'directory'=>'admin/finance/commission',
    ));
//对账明细
Route::set('finance_admin_finance_record_check', 'finance/admin/finance/record((/<controller>)(/<action>(/<params>)))', array('params' => '.*'))
    ->defaults(array(
        'controller' => 'check',
        'action' => 'index',
        'directory'=>'admin/finance/record',
    ));

Route::set('finance_admin_finance', 'finance/admin/finance((/<controller>)(/<action>(/<params>)))', array('params' => '.*'))
    ->defaults(array(
        'controller' => 'index',
        'action' => 'index',
        'directory'=>'admin/finance',
    ));

Route::set('finance_admin', 'finance/admin((/<controller>)(/<action>(/<params>)))', array('params' => '.*'))
    ->defaults(array(
        'controller' => 'financeextend',
        'action' => 'index',
        'directory'=>'admin',
    ));
